#include <stdio.h>
int main ()
{
	int num;
	printf("Please enter a number ");
	scanf("%d",&num);
	do
	{
		printf("%d",num%10);
		num/=10;
	}
	while (num!=0);
return 0;
}